package com.shenghui.enterprise.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 角色模块 实体类信息
 * @Author houjh
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-06-01
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */
public class BaseRoleModule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("role_module_id")
    private String roleModuleId;

    /**
     * 角色ID 
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 模块ID
     */
    @TableField("module_id")
    private String moduleId;

    /**
     * 状态
     */
    @TableField("state")
    private Integer state;

    /**
     * 排序值
     */
    @TableField("order_value")
    private Integer orderValue;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;

    /**
     * 创建人ID
     */
    @TableField("create_user_id")
    private String createUserId;

    public String getRoleModuleId() {
        return roleModuleId;
    }

    public void setRoleModuleId(String roleModuleId) {
        this.roleModuleId = roleModuleId;
    }
    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public Integer getOrderValue() {
        return orderValue;
    }

    public void setOrderValue(Integer orderValue) {
        this.orderValue = orderValue;
    }
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    @Override
    public String toString() {
        return "BaseRoleModule{" +
        "roleModuleId=" + roleModuleId +
        ", roleId=" + roleId +
        ", moduleId=" + moduleId +
        ", state=" + state +
        ", orderValue=" + orderValue +
        ", createDate=" + createDate +
        ", createUserId=" + createUserId +
        "}";
    }
}
